package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "博客id",required = true,example = "1")
    private Integer id;
    @ApiModelProperty(value = "博客内容",required = true)
    private String content;
    @ApiModelProperty(value = "博客创建日期",required = true,example = "2024年10月22号 11点59分20秒")
    @JsonFormat(pattern = "yyyy年MM月dd号 HH点mm分ss秒",timezone = "GMT+8")
    private Date created;
    @ApiModelProperty(value = "昵称",required = true,example = "克晶")
    private String nickname;
}
